<%@page contentType="text/html" pageEncoding="UTF-8" %>
<%@page import="com.directorio.modelo.bean.Dato_Tipo" %>
<%@page language="java" session="true" %>

<%
    
    HttpSession sesion = null;
    String mensaje = "";
    sesion = request.getSession();
    Dato_Tipo error = null;
    if(sesion.getAttribute("error") != null){
        error = (Dato_Tipo)session.getAttribute("error");
        mensaje = error.getDes();
    }
    sesion.removeAttribute("empresa");
    sesion.removeAttribute("alumno");
    sesion.removeAttribute("administrador");
    sesion.invalidate();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <jsp:include page="templates/head.jsp"/>
        <script type="text/javascript" src="WEB-CONTENT/js/bt.cpanel.js"></script>
        <title>Ingenieria Industrial - Bolsa Universitaria de Trabajo</title>
    </head>
    <body id="0" class="bt_container_main_administrador" text="<% out.print(mensaje);%>">
        <div id="bt_container_page">
            <div id="bt_container_top">
                <div id="bt_container_header">
                    <jsp:include page="templates/header.jsp"/>                
                </div>
                <div id="bt_container_nav">
                    <jsp:include page="templates/nav_login.jsp"/>
                </div>
            </div>
            <div id="bt_container_main">
                <div  id="bt_container_main_administrador">
                    <div id="bt_container_main_administrador_panel">
                        <table id="form_login" border="0" >
                            <tr>
                                <td colspan="2" align="right" height="15px">
                                </td>
                            </tr>
                            <tr>
                                <td id="form_login_lbl_usuario" class="lbl_form">Administrador :</td>
                                <td style="padding-bottom: 6px;">
                                    <input id="txt_login_usuario" name="admin" class="input150" type="text" value="" maxlength="8"/>
                                </td>
                            </tr>
                            <tr>
                                <td class="lbl_form">Password :</td>
                                <td>
                                    <input class="input150" id="txt_login_password" type="password" value=""/>
                                </td>
                            </tr>
                            <tr>                    
                                <td colspan="2" align="right" style="padding:0 0 0 10px;">
                                    <a href="#!" onclick="validarlogin()"><img class="img_boton" alt="iniciar" src="WEB-CONTENT/img/btn_iniciar.gif"/></a>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" align="left">
                                    <span class="msj_error"></span>                        
                                </td>
                            </tr>                    
                            <tr>                    
                                <td colspan="2" style="padding-top: 10px;">
                                    <span style="float: left">
                                        <a id="link_enviar_password" href="#!" class="link" onclick="mostrarEnviarPass()" title="<b>¿No recuerda su contrase&ntilde;a?<br/>haga clic aqui.</b>">Olvidaste tu password?</a>
                                    </span>
                                </td>
                            </tr>
                        </table>
                        <table id="form_enviarpass" border="0" style="display: none">
                            <tr>
                                <td colspan="2" align="right">
                                    <a class="boton_cerrar" href="#!" onclick="cerrarEnviarPass()">X</a>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" align="left">
                                    <p>
                                        Ingrese su direccion de correo electrico registrada,y le reenviaremos su password.
                                    </p>
                                    <p class="lbl_form">Direccion de Correo:</p>
                                </td>
                            </tr>
                            <tr>
                                <td  align="left" >
                                    <input class="input150" id="txt_login_email" name="email" type="text" value="" style="text-transform: lowercase;"/>
                                </td>
                                <td  align="left">
                                    <a href="#!"><img class="img_boton" alt="enviar" src="WEB-CONTENT/img/btn_enviar.gif"/></a>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <span id="form_enviarpass_txt_msj"></span>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
            <div id="bt_container_footer">
                <jsp:include page="templates/footer.jsp"/>
            </div>
        </div>
        <div id="dlg_actualizar_navegador" style="display: none">
            <table id="tbl_actualizar_navegador">
                <tr>
                    <td colspan="4">El Navegador que esta usuando es muy antiguo por favor actualicelo por cualquiera de estos:</td>
                </tr>
                <tr>
                    <td><img alt="ie" src="WEB-CONTENT/img/ie-logo.gif"/></td>
                    <td><img alt="firefox" src="WEB-CONTENT/img/firefox-logo.gif"/></td>
                    <td><img alt="chrome" src="WEB-CONTENT/img/chrome-logo.gif"/></td>
                    <td><img alt="opera" src="WEB-CONTENT/img/opera-logo.gif"/></td>
                </tr>
                <tr>
                    <td><a class="link" href="http://windows.microsoft.com/es-ES/internet-explorer/products/ie/home">Internet Explorer</a></td>
                    <td><a class="link" href="http://www.mozilla.org/es-ES/firefox/new/">Mozilla Firefox</a></td>
                    <td><a class="link" href="http://www.google.com/chrome">Google Chrome</a></td>
                    <td><a class="link" href="http://www.opera.com/">Opera</a></td>
                </tr>
            </table>            
        </div>
    </body>
</html>

